home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / canonlbp.arc / CANONLBP.TXT next >
Text File  |  1986-10-25  |  6KB  |  116 lines

  1.                     Canon LBP-8A1 Laser Printer Controls
  2.                                October 24, 1986
  3.  
  4.                                By Nelson Ford
  5.                     P.O.Box 35705  Houston, TX 77235-5705
  6.                       (713) 721-6104    CIS# 71355,470
  7.  
  8.  
  9. The Canon Laser manual has to be the worst documentation for a major piece of
  10. hardware or software for microcomputers in this century. (Records of this type
  11. were not kept for microcomputers prior to 1900.)
  12.  
  13. Here are some control codes that I've managed to scrape out.
  14. If anyone else has any more to add, please do so!
  15.  
  16. Put Switch 3-1 up for ISO mode.  The DIP switches are a little difficult to get
  17. to and identify.  There are 4 sets behind a metal plate in the back of the
  18. machine.  Sw. 3-1 is the third bank from the left, the first switch on that
  19. bank.  It should be the only one on that bank in the up position.
  20.  
  21. Even if you are a complete novice, you might be able to use the following
  22. information to control the printer if your text editor lets you enter ASCII
  23. codes.  If you don't know if your's does, it doesn't hurt to try.  Hold down the
  24. ALT key and press the numbers 155 on the cursor pad then let go of the ALT key.
  25. If a cent sign (a "c" with a vertical slash thru it) appears, you are in
  26. business. Whenever you want to turn on shaded print, for example, just hold down
  27. ALT, press 155 on the number pad, release ALT and type "5m". Then just continue
  28. your typing. Of course, these codes only work if you have a Canon LBP-8A1/2
  29. Laser printer. To see examples of these codes at work, look at the order form of
  30. The Public (Software) Library.
  31.  
  32.                   <ascii>
  33. 4 lines per inch:  <155>1 L
  34. 6 lpi              <155>0 L
  35. 8 lpi              <155>4 L
  36. double width       <155>100;200 B
  37. double height      <155>200;100 B
  38. double hi/wide     <155>200;200 B
  39. normal hi/wide     <155>100;100 B
  40. bold           on  <155>1m          off  <155>22m
  41. italic         on  <155>3m          off  <155>23m
  42. underlined     on  <155>4m          off  <155>24m
  43. shaded print   on  <155>5m          off  <155>25m
  44. white on black on  <155>7m          off  <155>27m
  45. subscript      on  <155>15e<O><4>        <155>15k<P>
  46. superscript    on  <155>15k<O><4>        <155>15e<P>
  47. set margin         <155>[code] t
  48. clear margin       <155>[code] u
  49. reverse line feed  <140><140>
  50. 1/2 line feed      <139>
  51. reverse 1/2 lf     <140>
  52. # of copies        <155><#> v
  53.  
  54. Here are commands you can use for single and double line drawing, except that
  55. instead of a double line, you get a solid, but heavy, line. As you can see,
  56. many of the lines are missing. If you get energetic enough to fill in these
  57. blanks, how about sharing it with us? This information came from Word Perfect.
  58.  
  59. notes:  <027> is ESC.
  60.          "c"  is ascii-155 (the "cent" sign)
  61.         The two codes substitutions above were made so you can print this file.
  62.         All other characters and spaces are "literals" and should be sent
  63.           to the printer exactly as shown.
  64.  
  65. The following line is the first line of code sent to the printer by WP.
  66. I have not analyzed it, but I assume it sets the margins and possibly does
  67. some other things not related to the line drawing. However, I'm also guessing
  68. that there is some code in here related to the line drawing that follows.
  69. This code was generated by trapping printer output from WP into a file.
  70.  
  71. <027>;c?1;4;5;8lc11hc?2hc7 Ic0`c0dc50jc100kc0tc2tc3y<027>(Bc22;23mc0 Kc0 L
  72.  
  73.                                            single lines:
  74. c;255 G c;45 G c;30 G        ?             left top corner
  75. c;255 G c;45 G c;30 G        ?             T
  76. c;255 G c;45 G c;30 Gc4;;4{c7}c4;;3{c4}    right top corner
  77. c;255 G c;45 G c;30 Gc4;;1{c7}c4;;4{c5}    |-
  78. c;255 G c;45 G c;30 Gc4;;3{c5}c4;;1{c7}    +
  79. c;255 G c;45 G c;30 Gc4;;1{c7}c4;;3{c4}    -|
  80. c;255 G c;45 G c;30 Gc4;;1{c4}c4;;4{c5}    bottom left corner
  81. c;255 G c;45 G c;30 Gc4;;3{c5}c4;;1{c4}    horiz. with vert. going up in middle
  82. c;255 G c;45 G c;30 Gc4;;3{c4}c4;;1{c4}    bottom right corner
  83.  
  84.                                            double:
  85. c;255 G c;45 G c;30 Gc9;;4{c5}c9;;4{c7}    left top corner
  86. c;255 G c;45 G c;30 Gc9;;3{c5}c9;;4{c7}    T
  87. c;255 G c;45 G c;30 Gc9;;3{c4}c9;;4{c7}    right top corner
  88. c;255 G c;45 G c;30 Gc9;;1{c7}c9;;4{c5}    |-
  89. c;255 G c;45 G c;30 Gc9;;1{c7}c9;;3{c5}    +
  90. c;255 G c;45 G c;30 Gc9;;1{c7}c9;;3{c4}    -|
  91. c;255 G c;45 G c;30 Gc9;;1{c4}c9;;4{c5}    bottom left corner
  92. c;255 G c;45 G c;30 Gc9;;3{c5}c9;;1{c4}    horiz. with vert. going up in middle
  93. c;255 G c;45 G c;30 Gc9;;3{c4}c9;;1{c4}    bottom right corner
  94.  
  95.                                            single horiz., double vert.:
  96. c;255 G c;45 G c;30 G        ?             left top corner
  97. c;255 G c;45 G c;30 G        ?             T  (?)
  98. c;255 G c;45 G c;30 G        ?             right top corner
  99. c;255 G c;45 G c;30 Gc4;;4{c5}c9;;1{c7}    |-
  100. c;255 G c;45 G c;30 G        ?             +     (?)
  101. c;255 G c;45 G c;30 Gc4;;3{c4}c9;;1{c7}    -|
  102. c;255 G c;45 G c;30 G        ?             bottom left corner
  103. c;255 G c;45 G c;30 G        ?             horiz. with vert.
  104. c;255 G c;45 G c;30 G        ?             bottom right corner
  105.  
  106.                                            double horiz., single vert.:
  107. c;255 G c;45 G c;30 G        ?             left top corner
  108. c;255 G c;45 G c;30 Gc4;;4{c7}c9;;3{c5}    T
  109. c;255 G c;45 G c;30 G        ?             right top corner
  110. c;255 G c;45 G c;30 G        ?             |-
  111. c;255 G c;45 G c;30 Gc4;;1{c7}c9;;3{c5}    +
  112. c;255 G c;45 G c;30 G                      -|
  113. c;255 G c;45 G c;30 G        ?             bottom left corner
  114. c;255 G c;45 G c;30 Gc4;;1{c4}c9;;3{c5}    horiz. with vert. going up in middle
  115. c;255 G c;45 G c;30 G        ?             bottom right corner
  116.